package com.party.core.service.mall;

import com.party.core.model.mall.MallSpecOutput;
import com.party.core.model.mall.MallSpecValue;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * @Author: Administrator.
 * @Description: 规格值
 * @Date:Created in 2017/9/1 0001 下午 17:27.
 */
public interface IMallSpecValueService extends IBaseService<MallSpecValue> {
    List<MallSpecOutput> getSpecValues(String goodsId);

    MallSpecValue getUnique(MallSpecValue mallSpecValue);

    /**
     * 根据规格id删除规格值
     *
     * @param specId 规格id
     */
    void deleteBySpecId(String specId);

    List<MallSpecValue> findByValue(MallSpecValue specValue);
}
